<%--
  Created by IntelliJ IDEA.
  User: 我爱陈果果
  Date: 2020/8/18
  Time: 16:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<c:if test="${not empty result and !result}">
    <div class="alert alert-danger">
        <button type="button" class="close" data-dismiss="alert">
            <i class="ace-icon fa fa-times"></i>
        </button>
        <strong>
            <i class="ace-icon fa fa-times"></i>
            ${msg}
            <c:remove var="msg" scope="session"/>
            <c:remove var="result" scope="session"/>
        </strong>
        <br />
    </div>
</c:if>

<c:if test="${not empty result and result}">
    <div class="alert alert-block alert-success">
        <button type="button" class="close" data-dismiss="alert">
            <i class="ace-icon fa fa-times"></i>
        </button>
        <p>
            <strong>
                <i class="ace-icon fa fa-check"></i>
                ${msg}
                <c:remove var="msg" scope="session"/>
                <c:remove var="result" scope="session"/>
            </strong>
        </p>
    </div>
</c:if>